{{ define "goods/search.html" }}

{{ template "base/base_header.html" .}}
<head>
	<title>天天生鲜-商品列表</title>
	{{ template "base/base_import.html" .}}
</head>
<body>
	{{ template "base/base_top.html" .}}
	{{ template "base/base_search_car.html" .}}
	{{ template "base/base_goods_type.html" . }}
	
	<div class="main_wrap clearfix">
		<div class="r_wrap fr clearfix">
			<ul class="goods_type_list clearfix">
				{{ range .GoodsList }}
					<li>
						<a href="/ttsx/goods/detail?id={{ .ID }}"><img src="{{ .Image }}"></a>
						<h4><a href="/ttsx/goods/detail?id={{ .ID }}">{{ .Name }}</a></h4>
						<div class="operate">
							<span class="prize">￥{{ .Price }}</span>
							<span class="unit">{{ .Price }}/{{ .Unite }}</span>
							<a href="#" class="add_goods" title="加入购物车"></a>
						</div>
					</li>
				{{ end }}
			</ul>
		</div>
	</div>

	{{ template "base/base_bottom.html" . }}
	
</body>
</html>
{{ end }}